/**定义字体大小**/
html {

  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC","Helvetica Neue",STHeiti,"Microsoft Yahei",Tahoma,Simsun,sans-serif;

  -webkit-overflow-scrolling: touch;
}


/* 禁止缩放表单 */
input[type="submit"], input[type="reset"], input[type="button"], input {
  resize: none;
  border: none;
}

/* 取消链接高亮  */
body, div, ul, li, ol, h1, h2, h3, h4, h5, h6, input, textarea, select, p, dl, dt, dd, a, img, button, form, table, th, tr, td, tbody, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* 设置HTML5元素为块 */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

/* 初始化 */
body, div, ul, li, ol, h1, h2, h3, h4, h5, h6, input, textarea, select, p, dl, dt, dd, a, img, button,
form, table, th, tr, td, tbody, article, aside, details, figcaption, figure, footer, header, hgroup,
menu, nav, section {
  margin: 0;
  padding: 0;
}

/* 移动端点击a链接出现蓝色背景问题解决 */
a:link, a:active, a:visited, a:hover {
  background: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

em, i {
  font-style: normal;
}

ul, li {
  list-style-type: none;
}

strong {
  font-weight: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

textarea {
  resize: none; /*禁用了文本的拖拉，尤其在谷歌下*/
}

p {
  word-wrap: break-word; /* 不够的单词自动换行 而不会被截掉 */
}

/**鼠标指针，兼容ios点击事件**/
.cursorXss {
  cursor: pointer;
}

/**图片默认自适应，并去除图片下发的空白**/
.imgCss {
  width: 100%;
  height: auto;
  width: auto \9
; /* ie8 */
  display: block;
  -ms-interpolation-mode: bicubic; /*为了照顾ie图片缩放失真*/
}

/*单行溢出*/
.one-txt-cut {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/*多行溢出,手机端使用*/
.txt-cut {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  /* -webkit-line-clamp: 2; */
  -webkit-box-orient: vertical;
}

/**元素定位浮动**/
.zqui-fixed {
  position: fixed;
}

.zqui-rel {
  position: relative;
}

.zqui-abs {
  position: absolute;
  z-index: 2;
}

/**Flex布局，弹性布局**/
.zqui-item-box {
  display: box;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.item-flex {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}

.item-box {
  display: box;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

/**clear 浮动**/
.zqui-left {
  clear: left;
}

.zqui-right {
  clear: right;
}

.clearfix:after {
  content: "";
  display: block;
  visibility: hidden;
  height: 0;
  clear: both;
}

.clearfix {
  zoom: 1;
}

a:hover {
  text-decoration: none;
}
/**防止微信点击放大图片**/
img{
  pointer-events: none;
}

div{
  display: box;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
}

.flex-row{
  flex-direction: row;
}

.back-div{
  display: block;
}

.swipe-div div{
  display: block;
}

@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {

}


